package c.h.a.j0;

import android.view.View;
import android.view.ViewGroup;
import android.view.ViewGroup.LayoutParams;
import c.h.a.j0.z0.f;

/* compiled from: lambda */
public final /* synthetic */ class d0 implements Runnable {
    public final /* synthetic */ f a;

    public /* synthetic */ d0(f fVar) {
        this.a = fVar;
    }

    public final void run() {
        f fVar = this.a;
        View view = z0.this.b0;
        if ((view instanceof ViewGroup) && ((ViewGroup) view).getChildCount() != 0) {
            view = ((ViewGroup) z0.this.b0).getChildAt(0);
            if (view.getMeasuredHeight() > z0.this.b0.getMeasuredHeight()) {
                LayoutParams layoutParams = z0.this.b0.getLayoutParams();
                if (layoutParams != null) {
                    layoutParams.height = view.getMeasuredHeight();
                    z0.this.b0.setLayoutParams(layoutParams);
                }
            }
        }
    }
}
